package com.xuecheng.content.service;

import com.xuecheng.api.content.model.dto.TeachplanMediaDTO;
import com.xuecheng.api.content.model.qo.QueryTeachplanMediaModel;
import com.xuecheng.common.domain.response.RestResponse;
import com.xuecheng.content.entity.TeachplanMedia;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author itcast
 * @since 2021-10-09
 */
public interface TeachplanMediaService extends IService<TeachplanMedia> {

    /**
     * 通过远程调用接口查看是否有媒资进行绑定
     * @param mediaId
     * @return
     */
    RestResponse<Integer> getTeacherMediaCount(Long mediaId);
}
